﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using GalaSoft.MvvmLight;
namespace AgileLogistics.ViewModel
{
    [PropertyChanged.AddINotifyPropertyChangedInterface]
   public class HomeViewModel:ViewModelBase
    {
        public Model.Users LoginUser { get; set; }
        public Model.Depment CurrDep { get; set; }
        public Model.Roles CurrRole { get; set; }

        public int DepUserCount { get; set; }


        #region 通知管理
        public List<Model.Notice> NoticeList { get; set; }

        public Model.Notice CurrNotice { get; set; }


        public List< Model.NoticeUsers> NoticeUsersList { get; set; }
        public List< Model.NoticeUsers> HistoryNoticeUsersList { get; set; }
        public Model.NoticeUsers CurrNoticeUsers { get; set; }
        #endregion


        #region 数据
        public int UserCount { get; set; }
        public int PollCount { get; set; }
        public int MenusCount { get; set; }

        #endregion



        #region 天气
        public Models.RealTimeWeather Weather { get; set; }
        #endregion
    }
}
